package com.graduation.mybatis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.graduation.mybatis.bean.Food;
import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.mybatis.mapper.FoodMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
* @author 23726
* @description 针对表【food】的数据库操作Service
* @createDate 2025-03-29 19:55:38
*/
public interface FoodService extends IService<Food> {
    List<Food> queryByCategory(String category);

    IPage<Food> getFoodPage(int currentPage, int pageSize);

    List<Food> searchFoods(String keyword);
}
